import request from "@/utils/request";

//获取种草文章列表
export const getArticleList = data =>
    request({
        method: 'POST',
        url: '/frontend/article/list',
        data
    })


//获取我的种草文章列表
export const getMyArticleList = data =>
    request({
        method: 'POST',
        url: '/frontend/article/my/list',
        data
    })

//添加种草
export const addArticle = data =>
    request({
        method: 'POST',
        url: '/frontend/article/add',
        data
    })
//详情
export const getArticleDetail = data =>
    request({
        method: 'POST',
        url: '/frontend/article/detail/',
        data
    })